package com.xxxt.entity;

import java.util.List;

//通知实体类
public class Inform {
private String informId;//通知id

private String title;//通知标题

private String content;//通知内容	

private String publishTime;//发布时间

private Teacher teacher;//与通知关联的老师

private List<Feedback> feedbacks;//与通知关联的反馈实体类

public Inform() {}

public Inform(String informId, String title, String content, String publishTime, Teacher teacher,
		List<Feedback> feedbacks) {
	super();
	this.informId = informId;
	this.title = title;
	this.content = content;
	this.publishTime = publishTime;
	this.teacher = teacher;
	this.feedbacks = feedbacks;
}

public Inform( String title, String content, String publishTime, Teacher teacher,
		List<Feedback> feedbacks) {
	super();
	this.title = title;
	this.content = content;
	this.publishTime = publishTime;
	this.teacher = teacher;
	this.feedbacks = feedbacks;
}

public String getInformId() {
	return informId;
}

public void setInformId(String informId) {
	this.informId = informId;
}

public String getTitle() {
	return title;
}

public void setTitle(String title) {
	this.title = title;
}

public String getContent() {
	return content;
}

public void setContent(String content) {
	this.content = content;
}

public String getPublishTime() {
	return publishTime;
}

public void setPublishTime(String publishTime) {
	this.publishTime = publishTime;
}

public Teacher getTeacher() {
	return teacher;
}

public void setTeacher(Teacher teacher) {
	this.teacher = teacher;
}

public List<Feedback> getFeedbacks() {
	return feedbacks;
}

public void setFeedbacks(List<Feedback> feedbacks) {
	this.feedbacks = feedbacks;
}

@Override
public String toString() {
	return "Inform [informId=" + informId + ", title=" + title + ", content=" + content + ", publishTime=" + publishTime
			+ ", teacher=" + teacher + ", feedbacks=" + feedbacks + "]";
}
}